package config

import play.api.Configuration

/**
 * Created by yz on 9/8/2022
 */
case class JwtConfig(secret: String)

object JwtConfig {

  def apply(config: Configuration): JwtConfig = {
    val secret = config.get[String]("secret")
    JwtConfig(secret)
  }

}
